<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<style>
    .font-bold{
        font-size: 14px;
        margin: 20px 0;
    }
</style>
<body class="gray-bg">
<div class="row">
    <div class="col-sm-5">
        <div class="wrapper wrapper-content project-manager">
            <h3>课程名称：<label th:text="${courses.name}"></label></h3>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-warning"></i>
                    审核状态：
                    <span th:if="${courses.state==0}" class="label label-success">上架</span>
                    <span th:if="${courses.state==1}" class="label label-success">下架</span>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-warning"></i>
                    类型：
                    <span th:if="${courses.type==0}" class="label label-success">证书课程</span>
                    <span th:if="${courses.type==1}" class="label label-primary">师资培训课程</span>
                    <span th:if="${courses.type==2}" class="label label-primary">考评员培训课程</span>
                    <span th:if="${courses.type==3}" class="label label-primary">高级师资培训课程</span>
                    <span th:if="${courses.type==4}" class="label label-primary">高级考评员培训课程</span>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    所属机构：<label th:text="${courses.orgName}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    所属证书：<label th:text="${courses.profileName}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    讲师姓名：<label th:text="${courses.userName}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    指导价：<label th:text="${courses.guidancePrice}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    优惠价：<label th:text="${courses.specialPrice}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    课程通过条件：<label th:text="${courses.adoptFactor}"></label>
                </span>
            </p>
        </div>
    </div>
    <div class="col-sm-5">
        <div class="wrapper wrapper-content animated fadeInUp">
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    缩略图：<image style="height: 200px" th:src="${courses.thumbnail}" />
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    内容描述：<label th:text="${courses.introduce}"></label>
                </span>
            </p>

            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    创建人：<label th:text="${courses.createrName}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                        创建时间：<label th:text="${courses.createrDate} eq null ? '' : ${#dates.format(courses.createrDate, 'yyyy-MM-dd HH:mm:ss')}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    修改人：<label th:text="${courses.updateName}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                        修改时间：<label th:text="${courses.updateDate} eq null ? '' : ${#dates.format(courses.updateDate, 'yyyy-MM-dd HH:mm:ss')}"></label>
                </span>
            </p>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
</body>
</html>
